package com.wangx1n.service;

import com.wangx1n.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author WangXin
 * @date 2020/12/4 10:08
 */
@Component(value = "userService")
public class UserService {
    @Autowired
    UserDao userDao;

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
}
